

***********************************************
* (1.0) Import map labels  
***********************************************
	use `"$d_data\china_label.dta"', clear
	
	gen LLFyear = .

	replace LLFyear = 1974 if ename == "Anhui Sheng"
	replace LLFyear = 1971 if ename == "Beijing Shi"
	replace LLFyear = 1973 if ename == "Fujian Sheng"
	replace LLFyear = 1971 if ename == "Gansu Sheng"
	replace LLFyear = 1970 if ename == "Guangdong Sheng"
	replace LLFyear = 1971 if ename == "Guangxi Zhuangzu Zizhiqu"
	replace LLFyear = 1971 if ename == "Guizhou Sheng"
	replace LLFyear = 1972 if ename == "Hebei Sheng"
	replace LLFyear = 1972 if ename == "Heilongjiang Sheng"
	replace LLFyear = 1974 if ename == "Henan Sheng"
	replace LLFyear = 1972 if ename == "Hubei Sheng"
	replace LLFyear = 1974 if ename == "Hunan Sheng"
	replace LLFyear = 1970 if ename == "Jiangsu Sheng"
	replace LLFyear = 1972 if ename == "Jiangxi Sheng"
	replace LLFyear = 1971 if ename == "Jilin Sheng"
	replace LLFyear = 1971 if ename == "Liaoning Sheng"
	replace LLFyear = 1979 if ename == "Nei Mongol Zizhiqu"
	replace LLFyear = 1973 if ename == "Ningxia Huizu Zizhiqu"
	replace LLFyear = 1972 if ename == "Qinghai Sheng"
	replace LLFyear = 1973 if ename == "Shaanxi Sheng"
	replace LLFyear = 1972 if ename == "Shandong Sheng"
	replace LLFyear = 1973 if ename == "Shanghai Shi"
	replace LLFyear = 1973 if ename == "Shanxi Sheng"
	replace LLFyear = 1971 if ename == "Sichuan Sheng"
	replace LLFyear = 1972 if ename == "Tianjin Shi"
	replace LLFyear = 1975 if ename == "Xinjiang Uygur Zizhiqu"
	replace LLFyear = 1972 if ename == "Yunnan Sheng"

***********************************************
* (2.0) Output map  
***********************************************

 	spmap LLFyear using `"$d_data\china_map.dta"', id(id) clmethod(custom) ///
	clbreaks(1969 1970 1971 1972 1973 1974 1975 1979) ///
	clnumber(8) fcolor( gs16 gs15 gs13 gs12 gs10 gs8 gs7 gs3) ndfcolor(white) legend(off)
	
	graph export "$d_fig\Fig_A2_Map.jpg", replace
		
	